<raw-message>
  <script>
    export default {
      name: 'raw-message',
      version: '0.0.1',
      setInnerHTML() {
        const shadowRoot = this.root.shadowRoot || this.root.attachShadow({
          mode: "open"
        });
        shadowRoot.innerHTML = this.props.content;
        this.root.innerHTML = shadowRoot;
      },
      onMounted() {
        this.setInnerHTML()
        console.log('raw-message onMounted');
      },
      onUpdated() {
        this.setInnerHTML()
      }
    }
  </script>
</raw-message>